package com.by.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@TableName("li_member")
@ApiModel("会员基础信息")
public class Member {
        /** ID */

        @TableId(value = "ID",type = IdType.AUTO)
        private Long id ;
        /** 创建者 */

        @TableField("创建者")
        private String createBy ;
        /** 创建时间 */
        @ApiModelProperty(name = "创建时间",notes = "")
        @TableField("create_time")
        private Date createTime ;
        /** 删除标志 true/false 删除/未删除 */
        @ApiModelProperty(name = "删除标志 true/false 删除/未删除",notes = "")
        @TableField("delete_flag")
        private boolean deleteFlag ;
        /** 更新者 */
        @ApiModelProperty(name = "更新者",notes = "")
        @TableField("update_by")
        private String updateBy ;
        /** 更新时间 */
        @ApiModelProperty(name = "更新时间",notes = "")
        @TableField("update_time")
        private Date updateTime ;
        /** 会员生日 */
        @ApiModelProperty(name = "会员生日",notes = "")
        private Date birthday ;
        /** 会员状态 */
        @ApiModelProperty(name = "会员状态",notes = "")
        private boolean disabled ;
        /** 会员头像 */
        @ApiModelProperty(name = "会员头像",notes = "")
        private String face ;
        /** 是否开通店铺 */
        @ApiModelProperty(name = "是否开通店铺",notes = "")
        @TableField("have_store")
        private boolean haveStore ;
        /** 手机号码 */
        @ApiModelProperty(name = "手机号码",notes = "")
        private String mobile ;
        /** 会员昵称 */
        @ApiModelProperty(name = "会员昵称",notes = "")
        @TableField("nick_name")
        private String nickName ;
        /** 会员密码 */
        @ApiModelProperty(name = "password",notes = "")
        private String password ;
        /** 积分数量 */
        @ApiModelProperty(name = "积分数量",notes = "")
        private Integer point ;
        /** 会员性别 */
        @ApiModelProperty(name = "sex",notes = "")
        private Integer sex ;
        /** 店铺ID */
        @ApiModelProperty(name = "店铺ID",notes = "")
        @TableField("store_id")
        private String storeId ;
        /** 会员用户名 */
        @ApiModelProperty(name = "会员用户名",notes = "")
        private String username ;
        /** 会员地址 */
        @ApiModelProperty(name = "会员地址",notes = "")
        private String region ;
        /** 会员地址ID */
        @ApiModelProperty(name = "会员地址ID",notes = "")
        @TableField("region_id")
        private String regionId ;
        /** 客户端 */
        @ApiModelProperty(name = "客户端",notes = "")
        @TableField("client_enum")
        private String clientEnum ;
        /** 最后一次登录时间 */
        @ApiModelProperty(name = "最后一次登录时间",notes = "")
        @TableField("last_login_date")
        private Date lastLoginDate ;
        /**  */
        @ApiModelProperty(name = "等级id",notes = "")
        @TableField("grade_id")
        private String gradeId ;
        /**  */
        @ApiModelProperty(name = "经验",notes = "")
        private Integer experience ;
        /**  */
        @ApiModelProperty(name = "总点数",notes = "")
        @TableField("total_point")
        private Integer totalPoint ;
    }
